package org.jeecg.modules.demo.moenydata.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.moenydata.entity.Moneydatahappycafe;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 开心网吧提现
 * @Author: jeecg-boot
 * @Date:   2021-03-04
 * @Version: V1.0
 */
@Mapper
public interface MoneydatahappycafeMapper extends BaseMapper<Moneydatahappycafe> {

    //提现申请拒绝
    void auditNo (String  id,@Param(value = "tableName")String tableName);
    //提现申请通过
    void auditYes (String  id,@Param(value = "tableName")String tableName);

    //批量提现申请通过
    void auditYesBatch (@Param("sIds")List sIds,@Param(value = "tableName")String tableName);
    //批量提现申请拒绝
    void auditNoBatch (@Param("sIds")List sIds,@Param(value = "tableName")String tableName);

    void saveEntiy(Moneydatahappycafe moneydatahappycafe);

    void changeState(Moneydatahappycafe moneydatahappycafe);

    Integer isActive(@Param(value = "sourceid") String sourceid,@Param(value = "tableName")String tableName);

    List<Moneydatahappycafe> getListPage(Moneydatahappycafe moneydatahappycafe);

    List<Moneydatahappycafe> getExcleList(Moneydatahappycafe moneydatahappycafe);

    Integer getListPageCount(Moneydatahappycafe moneydatahappycafe);
}
